package com.notime.model.bom;

import org.joda.time.LocalDate;
import org.joda.time.LocalTime;

public class Duration {
  private LocalDate date;
  private LocalTime startTime;
  private LocalTime endTime;

  public Duration(LocalDate date, LocalTime startTime, LocalTime endTime) {
    this.date = date;
    this.startTime = startTime;
    this.endTime = endTime;
  }

  public LocalDate getDate() {
    return date;
  }

  public void setDate(LocalDate date) {
    this.date = date;
  }

  public LocalTime getStartTime() {
    return startTime;
  }

  public void setStartTime(LocalTime startTime) {
    this.startTime = startTime;
  }

  public LocalTime getEndTime() {
    return endTime;
  }

  public void setEndTime(LocalTime endTime) {
    this.endTime = endTime;
  }

}
